<!DOCTYPE html>
<html>
<head>
	<title>商户信息</title>
	<!--#include("../../common/common-link.html"){}-->
	<style type="text/css">
		.table-panel .content .info-table{text-align: left;margin:10px 0 0 30px;width:100%;}
		.table-panel .content .info-table tr{height: 33px;}
		.table-panel .content .info-table tr.btns td .btn{width: 123px;outline: none;margin-top:20px;}
		.table-panel .content .info-table tr td.left{text-align: right;font-size: 15px;}
		.table-panel .content .info-table tr td.right{text-align: left;}
		.table-panel .content .info-table tr td.center{text-align: center;}
	</style>
</head>
<body>
	<div id="container-wrap" style="display:none;">
		<div class="table-panel">
			<div class="header">
				<h4 class="title">商户信息</h4>
			</div>
			<div class="content">
				<table class="info-table">
					<tr>
						<td class="left">商户邮箱：</td>
						<td class="right">{{email}}</td>
					</tr>
					<tr>
						<td class="left">商户电话：</td>
						<td class="right">{{phone}}</td>
					</tr>
					<tr>
						<td class="left">商户简称：</td>
						<td class="right">{{companyShortName}}</td>
					</tr>
					<tr>
						<td class="left">商户全称：</td>
						<td class="right">{{companyName}}</td>
					</tr>
					<tr>
						<td class="left">地址：</td>
						<td class="right">{{companyAddress}}</td>
					</tr>
					<tr>
						<td class="left">创建时间：</td>
						<td class="right">{{createTime}}</td>
					</tr>
					<tr>
						<td class="left">微信支付：</td>
						<td class="right">
							<span v-if="wxpayStatus == -1">未开通</span>
							<span v-else-if="wxpayStatus == 1">已开通</span>
						</td>
					</tr>
					<tr>
						<td class="left">支付宝支付：</td>
						<td class="right">
							<span v-if="alipayStatus == -1">未开通</span>
							<span v-else-if="alipayStatus == 1">已开通</span>
						</td>
					</tr>
					<tr>
						<td class="left">logo：</td>
						<td class="right">
							<img :src="companyLogo" style="height: 64px;width:64px;padding-bottom: 10px;">
						</td>
					</tr>
				</table>
			</div>
		</div>
	</div>
</body>
<script type="text/javascript">
	var data = {};
	function initVue() {
		new Vue({
			el:"#container-wrap",
			data:data
		});
		Vue.nextTick(function() {
			$("#container-wrap").show();
		});
	};
	function request(callback) {
		var load_id = util.load();
		util.post({
			url:"detail",
			success : function(result) {
				$.extend(data, result);
			},
			complete : function() {
				layer.close(load_id);
			}
		},callback);
	};
	function initialize(){
		request(initVue);
	}
</script>
</html>